package com.trg.designmodel.composite.application;

/**
 * @ClassName: ModelComponent
 * @Description:
 * @Author: tangrg
 * @Date: 2021/7/7 14:18
 * @Version: 1.0
 * @Return:
 **/
public class ModelComponent {
    private String id;
    private String label;

    public ModelComponent(String id, String label) {
        this.id = id;
        this.label = label;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public void add(ModelComponent modelComponent) {
        throw new UnsupportedOperationException();
    }

    public void remove(ModelComponent modelComponent) {
        throw new UnsupportedOperationException();
    }


}
